package com.ply.service;

import com.ply.entity.vo.Result;
import org.apache.ibatis.annotations.Param;

/**
 * @author XiaoPan
 * date: 2022/1/7 20:12
 * <p>
 * action:
 */
public interface AccountRecordService {

    /**
     * 写入数据库 流水记录
     *
     * @param userId
     * @param amount
     */
    Result addAccountRecord(@Param("userId") int userId,
                            @Param("amount") double amount);
}
